SYSC_INCS_ROOT := core/syscalls/h
SYSC_SRCS_ROOT := core/syscalls/src

SYSC_INCS := $(SYSC_INCS_ROOT)
SYSC_SRCS := $(SYSC_SRCS_ROOT)

SYSC_ALL_INCS := $(SYSC_INCS)
SYSC_ALL_SRCS := $(SYSC_SRCS)

INC_DIRS := $(SYSC_ALL_INCS)
SRC_DIRS := $(SYSC_ALL_SRCS)

H_FILES := $(patsubst %, -I %, $(INC_DIRS))
S_FILES := $(SRC_DIRS)
C_FILES := $(SRC_DIRS)

CCBUILD_PATH = $(S_FILES) $(C_FILES)
HEADFILE_PATH = $(H_FILES)

include buildcmd.mki
include buildobjs.mki

# 目标依赖关系
.PHONY : all everything build_bsp

all : build_bsp
build_bsp : everything
everything : $(BUILD_MK_SYSC_OBJS)

include buildrule.mki